package com.platform.dao;

import com.platform.entity.MerchantInfomationEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MerchantInformationDao extends BaseDao<MerchantInfomationEntity> {

    MerchantInfomationEntity queryObjectByMid(@Param("mid")Integer mid);

    /**
     * 审核通过
     * @param param
     * @return
     */
    Integer cashOutSuccess(Map<String,Object> param);

    /**
     * 审核失败
     * @param param
     * @return
     */
    Integer cashOutFail(Map<String,Object> param);

    List<Map<String,Object>> queryListByParam(Map<String,Object> param);

    List<MerchantInfomationEntity> queryAllMerchantList();
}
